const state = {
    menuData: []
}
  
const mutations = {
    SAVE_MENUDATA: (state, menuData) => {
        state.menuData = menuData
    }
}
  
const actions = {
    saveMenuData({ commit }, menuData) {
      commit('SAVE_MENUDATA', menuData)
    }
}
  
export default {
    namespaced: true,
    state,
    mutations,
    actions
}
